package cn.kgc.waimai.mapper;

import cn.kgc.waimai.pojo.Shjia;
import cn.kgc.waimai.pojo.ShjiaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShjiaMapper {
    int countByExample(ShjiaExample example);

    int deleteByExample(ShjiaExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Shjia record);

    int insertSelective(Shjia record);

    List<Shjia> selectByExample(ShjiaExample example);

    Shjia selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Shjia record, @Param("example") ShjiaExample example);

    int updateByExample(@Param("record") Shjia record, @Param("example") ShjiaExample example);

    int updateByPrimaryKeySelective(Shjia record);

    int updateByPrimaryKey(Shjia record);
}